//package com.yiweikeji.project.mq;
//import javax.annotation.Resource;
//
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//import org.springframework.amqp.rabbit.annotation.RabbitListener;
//import org.springframework.messaging.handler.annotation.Payload;
//import org.springframework.stereotype.Component;
//
//import com.alibaba.fastjson.JSON;
//
//@Component
//public class Receiver {
//
//    private static final Logger LOGGER = LoggerFactory.getLogger(Receiver.class);
//
//    @Resource
//    private Sender sender;
//
//    @RabbitListener(queues = "cif")
//    public void process(@Payload String data) {
//        try {
//            LOGGER.info("【MQ触发】：处理订单");
//            System.out.println("paycallback======="+data);
//            LOGGER.info("Listener:22 " + "paycallback======="+data);
//        } catch (Exception e) {
//            LOGGER.error("Mq处理订单发生异常", e);
//        }
//    }
//
//}